@echo off
REM set default parameters
set defaultParams=-v
REM
echo Run software test
photonmapping -t swkdtree -g global%1K.pm %2 %3 -w %4 -h %5 %defaultParams%
REM
echo Run GPU kd-tree test
photonmapping -t gpukdtree -g global%1K.pm %2 %3 -w %4 -h %5 %defaultParams%
REM
echo Run GPU hashing test
photonmapping -t gpuhash -g global%1K.pm %2 %3 -w %4 -h %5 %defaultParams%
REM
echo Run GPU BF test
if %1 LEQ 50 photonmapping -t gpubf -g global%1K.pm %2 %3 -w %4 -h %5 %defaultParams%
REM done!
echo Tests completed